/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.services.security;

import src.domain.security.UsersConfig;
import src.services.CRUEDService;

/**
 *
 * @author Yusup Jauhari Shandi <in.visi>
 */
public class UsersConfigModel {
    private CRUEDService service;

    public UsersConfigModel() {
        service = new CRUEDService();
    }
    
     public boolean saveData(UsersConfig data) {
        return service.saveData(data);
    }
    
     public UsersConfig getById(Integer id){
          return (UsersConfig)  service.getById(UsersConfig.class, id);
     }
}
